package com.smq.chatserver.bean.message

import lombok.Data

@Data
data class TextMessage(
    var id: String,
    var type: Int = 0,
    var msg: String,
    var mentionedType: Int? = null,
    var mentionedUserIdList: Int? = null
)

/**
 * @ 功能 <br></br>
 * Type 1 = @所有人
 * Type 2 = @指定用户
 */